package ar.com.ctrln.persistence.dao.liquidacion;

import java.util.Date;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import ar.com.ctrln.persistence.dao.AbstractDao;
import ar.com.ctrln.persistence.model.liquidacion.DetalleLiquidacion;
import ar.com.ctrln.persistence.model.liquidacion.Liquidacion;

public interface LiquidacionDao extends AbstractDao<Liquidacion> {

	@Transactional(readOnly = true)
	public List<DetalleLiquidacion> listarDetalles(long idLiquidacion);

	@Transactional(readOnly = true)
	public Liquidacion get(Date desde, Date hasta);
	
	@Transactional(readOnly = true)
	public Liquidacion get(int mes, int anio);

}
